#pragma once

#include"HiKernel/HiModule.h"


class HI_DLLEXPORT mHiHUD : public HiModule
{
private:

	struct sHUD
	{
		std::string HUDImage;

	};

	std::vector<sHUD*> m_vHudMenu;
	
//	static ScreenOverlay* ms_pkTheScreenOverlay;

protected:

	int iSec;
	int iMin;

	unsigned int uiX, uiY;

	NiFont* m_spHUDFont;

	NiScreenTexture* spLoadLogo;	
	NiScreenTexture* spLoadPanic;

	NiOldString2D* m_spScoreCountString;
	NiOldString2D* m_spBabyString;
	NiOldString2D* m_spBabyCountString;
	NiOldString2D* m_spTimeLeftString1;
	NiOldString2D* m_spTimeLeftString2;
	NiOldString2D* m_spNumString;
	NiOldString2D* m_spTimeString;
	NiOldString2D* m_spScoreString;
	NiOldString2D* m_spPlaceHolderString;

	//NiActorManager* m_spActorManagersdds;

public:
	mHiHUD(HiXmlNode*xml=NULL);                                   
	virtual ~mHiHUD() {}          

	//virtual void PreConfig() {} ;
	void PostConfig();// {} ;
	//virtual void Sync() {} ;                        
	void Update();     
	void Render();    
	int i;


	int ParseXml(HiXmlNode*xml);// {return 1;};
	//virtual int SetXmlAttrs(HiXmlNode*xml)                  { return 1; }

};